	<?php
	@session_start();
	function check_admin()
	{
		if($_SESSION['user_admin']!=1 && $_SESSION['user_admin']!=2 &&$_SESSION['user_admin']!=3){
			Header("Location: login.php");
		}
	}
    $link = mysql_connect("localhost", "root", "");
    if (!$link)
     {
         echo "Khong the ket noi den mysql";
     }
    if (!mysql_select_db ("giasuket_qlhs"))
     {
         echo "Khong the ket noi den db ql_hs";
     }

	 ?>